.header {
	font-family: Text;
	background-color: #373741;
	display: flex;
    justify-content: space-around;
    font-size: 1.1vw;
    z-index: 2;
}

.footer {
    position: fixed;;
    bottom: 0;
    z-index: 2;
}

.lang {
    border-radius: 50%;
    width: 85%;
    height: 85%;
    position: relative;
    left: 8%;
    top: 8%;
}

.langBack{
    background-color:  #373741;
    border-radius: 50%;
    margin: 1vw;
    width: 3vw;
    height: 3vw;
}


.sticky {
  position: fixed;
  top: 0;
  width: 100%
}


article {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-y: scroll;
  height: 100vh;
  position: fixed;
}

section {
    scroll-snap-align: center;
    height: 93vh;
}

.contains {
    display: flex;
    align-items: center;
    flex-direction: column;
	justify-content: space-around;
    padding: 0;
    height: 90vh;
    padding-left: 0;
    padding-right: 0;
}

#logo {
	border-radius: 25%;
    height: 15%;
    margin-top: 2%;
    background-color: #e1d8cf;
}

#arrow {
    width: 5vh;
}

#arrowDiv {
    display: flex;
    flex-direction: column;
    font-size: 2vw;
    align-items: center;
}

#top {
    background-color: #373741;
    color: #e1d8cf;
    text-align: center;
    padding-top: 7vh;
}

#descPerso {
	padding-left: 10%;
	padding-right: 10%;
    padding-top: 2%;
    font-size: 1vw;
    font-style: italic;
    line-height: 5.3vh;
}

#search {
	font-size: 150%;
	margin-top: 2%;
}

#name {
    font-family: Name;
    font-size: 2vw;
}

.Project {
	height: 70vh;
    margin-left: 20%;
    margin-right: 20%;
}

#slider { 
	overflow: hidden;
 }

 .dissapear {
 	height: 100%
 }

.infos {
	height: 13%;
    color: #b9b9b9;
    padding: 1%;
    padding-right: 3%;
    padding-left: 3%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #373741;
    font-family: Text;
    text-align: center;
}

.infos2 {
	height: 17%;
    color: #b9b9b9;
    padding: 1%;
    padding-right: 3%;
    padding-left: 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #373741;
    font-family: Text;
    text-align: center;
}

.title {
	width: 35%;
	justify-content: center;
    font-size: 2.5vw;
}

.title2 {
	padding-top: 4%;
	padding-bottom: 4%;
	justify-content: center;
    font-size: 1.5vw;
}

.description {
	font-size: 1vw;
	padding-bottom: 5%;
	padding-top: 5%;
}

#slider figure img { width: 20%; float: left; }
#slider figure { 
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 25s slidy infinite; 
}


.mainBody {
    display: flex;
    align-items: center;
	background-color: #e1d8cf;
	justify-content: space-between;
    padding-top: 12vh;
}

.grid {
    display: grid;
    overflow: auto;
    align-items: center;
    grid-template-columns: repeat(auto-fill, minmax(33%, 1fr));
    height: 98%;
    padding: 1%;
}



.projects {
	padding: 1%;
}

@keyframes floaty {
0% { padding-top: 1vh }
50% { padding-top: 6vh; }
100% { padding-top: 1vh; }
}

@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}

body {
	background-color: #373741;
	height: 100%;
    margin: 0px;
}

html {
	font-family: Text;
	color: #373741;
}

a:visited, a:link {
    color: #e1d8cf;
    text-decoration: none;
}

h1 {
    margin: 0px;
}


@font-face {
  font-family: Text;
  src: url(desc.ttf);
}

@font-face {
  font-family: Name;
  src: url(name.ttf);
}

@media screen and (max-width: 820px) {
    #descPerso {
        font-size: 1.5vh;
    }
}

@media screen and (max-width: 600px) {

	#name {
    	font-size: 2.5vh;
	}

	#descPerso {
        font-size: 1.5vh;
        line-height: 3.3vh;
	}

	#arrowDiv {
		height: 9vh;
		font-size: 2vh;
	}

    #top {
        padding-top: 4vh;
    }

    section {
        height: 96vh;
    }
	
    #third {
        grid-column: 1/3;
    }

	#arrow {
    	width: 5vh;
	}

    .mainBody {
        padding-top: 8vh;
    }

	.header {
		font-size: 1.3vh;
	}

    .langBack{
        margin: 1vw;
        width: 10vw;
        height: 10vw;
    }

	@keyframes floaty {
		0% { padding-top: 1vw }
		50% { padding-top: 6vw; }
		100% { padding-top: 1vw; }
	}

	.contains {
		height: 95vh;
		padding: 0;
	}

	.Project {
    	margin-left: 5%;
    	margin-right: 5%;
	    height: auto;
	}

	.title {
    	font-size: 4.5vh;
    	padding: 2vh;
		width: auto;
	}

	.title2 {
    	font-size: 2.5vh;
    	padding: 2vh;
		width: auto;
	}

	.description {
		font-size: 1.9vh;
	}

	.infos {
		height: auto;
    	flex-direction: column;
	}

	#slider {
		height: auto;
	}

	.grid {
		align-items: center;grid-template-columns: repeat(auto-fit, minmax(3%, 50%));
	}
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #bfb9b4;
    z-index: 50;
}

::-webkit-scrollbar {
    width: 1%;
    z-index: 25;
    background-color: #e1d8cf00;
}
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #202025;
    z-index: 50;
}